#!/bin/sh
# create a new session
tmux new-session -d -s a  
# split window into 4 parts
tmux split-window -h   # 切割窗口
tmux split-window -v    
tmux select-pane -t 0
tmux split-window -v
tmux select-pane -t 0

## others command:
# send command to shell
# tmux select-pane -t 0   # 选择0号窗口
# tmux send-keys "cd " C-m # 向选择的窗口发送指令
# tmux send-keys "./SwarmScripts/start_roslaunch_control.sh" C-m
# tmux send-keys "sleep 10" C-m

exit 0